<div class="grid_12">
	<div class="alignleft">
		<?php	previous_post_link('%link', '' . _x('&larr;', 'Previous post link', 'mt-white') . ' %title');?>
	</div>
	<div class="alignright">
		<?php	next_post_link('%link', '%title ' . _x('&rarr;', 'Next post link', 'mt-white') . '');?>
	</div>
</div>
<div class="grid_8">
	<?php if (have_posts()) : while (have_posts()) : the_post();
	?>
	<div <?php post_class() ?> >
		<?php
if (has_post_format( 'image' )) {
$images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
if ( $images ) {
$total_images = count( $images );
$image = array_shift( $images );
$image_img_tag = wp_get_attachment_image( $image->ID, 'large' );
		?>
		<span class="wp-post-image"><?php	echo $image_img_tag;?></span>
		<?php		}}else {
			if ( (function_exists( 'add_theme_support' ))  && ( has_post_thumbnail() )) {
			the_post_thumbnail('single_post'); }
			}?>
		<?php	the_title('<h1 class="title">', '</h1>');?>
		<ul class="postmeta">
			<li>
				<?php	white_posted_on();?>
			</li>
			<li>
				<?php	comments_popup_link(__('Leave a comment', 'mt-white'), __('1 Comment', 'mt-white'), __('% Comments', 'mt-white'));?>,
			</li>
			<li>
				<?php	_e('Author', 'mt-white');?>:
				<?php	the_author_posts_link();?>,
			</li>
			<li>
				<?php	_e('Categories', 'mt-white');?>:
				<?php the_category(', ')
				?>
			</li>
			<?php	the_tags('<li><br />' . __('Tags: ', 'mt-white'), ', ', '</li>');?>
		</ul>
		<div class="entry">
			<?php	the_content(__('(more...)', 'mt-white'));?>
				<div class="clear"></div>
			<?php	wp_link_pages(array('before' => '<div class="page-link">' . __('Pages:', 'mt-white'), 'after' => '</div>'));?>
		</div>
	</div>
	<?php comments_template('', true);?>
	<?php endwhile; endif;
	?>
</div>
<?php get_sidebar();
?>